package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Gapper
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Households implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "HouseHold_ID", type = IdType.AUTO)
    private Integer householdId;

    @TableField("Floor_ID")
    private Integer floorId;

    @TableField("HouseHold_Name")
    private String householdName;

    @TableField("Add_Date")
    private Date addDate;

    @TableField("Versions")
    private Integer versions;

    //连接查询
    @TableField(exist = false)
    private Floors floors;


}
